//
//  ShadowWaterView.m
//  AILock
//
//  Created by 谭亚明 on 2020/8/4.
//  Copyright © 2020 tym. All rights reserved.
//

#import "ShadowWaterView.h"
#import "UIView+ZFFrame.h"
@implementation ShadowWaterView

-(void)awakeFromNib{
    [super awakeFromNib];
    self.layer.backgroundColor = [UIColor colorWithRed:255/255.0 green:255/255.0 blue:255/255.0 alpha:1.0].CGColor;
    self.layer.shadowColor = [UIColor colorWithRed:232/255.0 green:238/255.0 blue:255/255.0 alpha:1.0].CGColor;
    self.layer.shadowOffset = CGSizeMake(0,2);
    self.layer.shadowOpacity = 1;
    self.layer.shadowRadius = 13;
    self.layer.cornerRadius = self.zf_width/2;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
